package com.winit.employeInfo.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "employee")
public class Employee implements Serializable{
    @Id
    private String empno; //'员工编号',
    private String empname; //'员工姓名',
    private String deptcode; //'组织单元编码',
    private String dutycode; //'职位编码',
    private String dutyname; //'职级',
    private String dutylv; //'职等',
    private String jobfamilycode; //'职群代码',
    private String jobfamilyname; //'职群名称',
    private String directorno; //'汇报主管工号',
    private String email; //'邮箱',
    private String idnumber; //'身份证号码',
    private Date birthdate; //'出生日期',
    private String sex; // '性别',
    private String ethnicgroupcode; //'民族',
    private String cityname; //'籍贯',
    private String householdregister; //'户籍所在地',
    private Date jiondate;//'入职日期',
    private Date terminationdate; //'离职日期',
    private String corporation; //'法人公司',
    private String workaddress; //'工作地点',
    private String bankname;//银行名称',
    private String banknumber; // '银行账号',
    private String nationalitycode; //'国籍',
    private String empdept; //'员工组',
    private String hirestate; //'雇佣状态',
    private String terminationtype; //'离职类型',
    private String companytel; //'公司电话',
    private String mobilenumber; //'手机号码',
    private String costcore; //'成本中心',
    private Date contractbegindate; //'合同开始日期',
    private Date contractenddate; //'合同结束日期',
    private Date probationperioddate; //'试用期到期提日期'

    public String getEmpno() {
        return empno;
    }

    public void setEmpno(String empno) {
        this.empno = empno;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname;
    }

    public String getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(String deptcode) {
        this.deptcode = deptcode;
    }

    public String getDutycode() {
        return dutycode;
    }

    public void setDutycode(String dutycode) {
        this.dutycode = dutycode;
    }

    public String getDutyname() {
        return dutyname;
    }

    public void setDutyname(String dutyname) {
        this.dutyname = dutyname;
    }

    public String getDutylv() {
        return dutylv;
    }

    public void setDutylv(String dutylv) {
        this.dutylv = dutylv;
    }

    public String getJobfamilycode() {
        return jobfamilycode;
    }

    public void setJobfamilycode(String jobfamilycode) {
        this.jobfamilycode = jobfamilycode;
    }

    public String getJobfamilyname() {
        return jobfamilyname;
    }

    public void setJobfamilyname(String jobfamilyname) {
        this.jobfamilyname = jobfamilyname;
    }

    public String getDirectorno() {
        return directorno;
    }

    public void setDirectorno(String directorno) {
        this.directorno = directorno;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdnumber() {
        return idnumber;
    }

    public void setIdnumber(String idnumber) {
        this.idnumber = idnumber;
    }

    public Date getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEthnicgroupcode() {
        return ethnicgroupcode;
    }

    public void setEthnicgroupcode(String ethnicgroupcode) {
        this.ethnicgroupcode = ethnicgroupcode;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getHouseholdregister() {
        return householdregister;
    }

    public void setHouseholdregister(String householdregister) {
        this.householdregister = householdregister;
    }

    public Date getJiondate() {
        return jiondate;
    }

    public void setJiondate(Date jiondate) {
        this.jiondate = jiondate;
    }

    public Date getTerminationdate() {
        return terminationdate;
    }

    public void setTerminationdate(Date terminationdate) {
        this.terminationdate = terminationdate;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getWorkaddress() {
        return workaddress;
    }

    public void setWorkaddress(String workaddress) {
        this.workaddress = workaddress;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public String getBanknumber() {
        return banknumber;
    }

    public void setBanknumber(String banknumber) {
        this.banknumber = banknumber;
    }

    public String getNationalitycode() {
        return nationalitycode;
    }

    public void setNationalitycode(String nationalitycode) {
        this.nationalitycode = nationalitycode;
    }

    public String getEmpdept() {
        return empdept;
    }

    public void setEmpdept(String empdept) {
        this.empdept = empdept;
    }

    public String getHirestate() {
        return hirestate;
    }

    public void setHirestate(String hirestate) {
        this.hirestate = hirestate;
    }

    public String getTerminationtype() {
        return terminationtype;
    }

    public void setTerminationtype(String terminationtype) {
        this.terminationtype = terminationtype;
    }

    public String getCompanytel() {
        return companytel;
    }

    public void setCompanytel(String companytel) {
        this.companytel = companytel;
    }

    public String getMobilenumber() {
        return mobilenumber;
    }

    public void setMobilenumber(String mobilenumber) {
        this.mobilenumber = mobilenumber;
    }

    public String getCostcore() {
        return costcore;
    }

    public void setCostcore(String costcore) {
        this.costcore = costcore;
    }

    public Date getContractbegindate() {
        return contractbegindate;
    }

    public void setContractbegindate(Date contractbegindate) {
        this.contractbegindate = contractbegindate;
    }

    public Date getContractenddate() {
        return contractenddate;
    }

    public void setContractenddate(Date contractenddate) {
        this.contractenddate = contractenddate;
    }

    public Date getProbationperioddate() {
        return probationperioddate;
    }

    public void setProbationperioddate(Date probationperioddate) {
        this.probationperioddate = probationperioddate;
    }
}
